<?php
class FormController extends FW24H_AppController{
	
	var $useHelpers = array( 'HtmlHelper','UrlHelper', 'GridHelper', 'FormHelper');

	function index(  $id='', $cid='') {
		echo $id;

		$this->loadModel( 'Form');

		$data['log_id'] = '22';
		
		pre( $this->Form->add( $data));
		$this->form_data =  $this->Form->add( $data);
		$this->form_data =  array('log_id'=>'9/5/2009');

		//fw24h_useComponent( 'Email');

		//$objEmail = new EmailComponent();
		//$objEmail->send();

		$this->render();
	
	}
}
